<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<style>
	.form-item {
		margin: 20px 10px;
	}
	
	.form-item>label {
		letter-spacing: 3px;
		width: 110px;
		text-align: right;
		display: inline-block;
	}
	
	.form-item>label:AFTER {
		content: ":";
	}
	
	.form-item input[type=text] {
		width: 100px;
	}
	
	.form-item.required>label:BEFORE {
		content: "*";
		color: red;
	}
</style>
<form id="deptForm" style="margin-top: 15px;">
	<input type="hidden" name="deptId" value="${dept.deptId }">
	<h3 style="text-align: center;">添加部门信息</h3>
	<div class="form-item required">
		<label for="">部门名称</label>
		<input value="${dept.deptName }"   ${dept==null?'':'readonly="readonly"' } type="text" data-options="required:true" class="easyui-textbox" name="deptName" <%-- ${dept==null?'':'disabled="disabled"' } --%>>
	</div>
	
	<div class="form-item required">
		<label for="">容纳人数</label>
		<input ${dept.count } value="20" type="text" required="required" data-options="min:20,max:100,editable:true" class="easyui-numberspinner" name="count">
	</div>
	
	<!-- <div class="form-item required">
		<label for="">创立时间</label>
		<input value="" type="text" data-options="required:true" class="easyui-datebox" name="createTime">
	</div> -->
	<div class="form-item">
		<label for="">备注</label><br />
		<textarea style="width: 200px; height: 50px;margin-left: 115px;" name="miaoshu" data-options="required:true">${dept.miaoshu }</textarea>
	</div>
</form>